package com.sghj.config.handler;

public interface ResultCode {

    public static Integer SUCCESS = 20000;      //成功

    public static Integer FAIL = 20001;         //失败

    public static Integer NullPointerException = 20002; //空指针

    public static Integer PARAMETER = 20003;    //参数校验失败

    public static Integer CONNECTERROR =20004;   //连接失败

    public static Integer  DUPLICATEKEY=20005;   //主键重复

    public static Integer  SERVICEERROR = 20006;    //业务错误

    public static Integer RECORDNOTEXIST = 20010;       //所修改的记录不存在

    public static Integer RECORDNUTRIGHT = 20011;       //记录修改的结果不正确

    public static Integer NoCookies = 20012;          //没有cookie信息

    public static Integer CREATETOKENERROR = 20013;     //生成token错误

    public static Integer GETTOKENERROR = 20013;     //获取token信息错误

    public static Integer GETDATAINFOERROR = 20014;      //数据库查询失败

    public static Integer NOPERMISSIONS = 20015;        //越权操作

    public static Integer NOTQUERIED = 20016;           //没有查询到

    public static Integer REPECT = 20017;               //库中已存在

    public static Integer UPLOADFAIL = 20018;           //上传文件失败

    public static Integer ACCOUNTDISABLED =20019;        //账号被禁用

    public static Integer CREATEBASE64 =20020;        //生成base64失败

    public static Integer CREATEDATE =20022;        //字符转换时间失败

    public static Integer INSUFFICIENTBALANCE =20023;        //余额不足

    public static Integer FILEUPLOADERROR =20024;           //文件上传错误

    public static Integer CARDSTATEABNORMAL =20026;        //卡状态异常

    public static Integer INTEGRATEDAUTHENTICATIONFAIL =20025;        //统一认证失败

    public static Integer INSUFFICIENTPOINT = 20024;  //积分不足

    public static Integer INSUFFICIENTGOODS = 20027;    //商品余量不足

    public static Integer NEEDRELOGIN = 20401;       //权限，需重新认证

    public static Integer CANNOTDELETE = 20402;      //删除错误


}
